﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using VietPay.KooBoo.Business.Interfaces;
using VietPay.KooBoo.Data.EntityModels;

namespace VietPay.KooBoo.Business.Models
{
    public class BatchDetailViewModel : IBatchDetailModel
    {
        [ReadOnly(true)]
        public int ID { get; set; }
        [ReadOnly(true)]
        public int BatchID { get; set; }

        [UIHint("ClientProduct"), Required]
        public string Product { get; set; }

        [DisplayName("ProductID")]
        public int ProductID{ get; set; }
        [DisplayName("Product Name")]
        public string ProductName { get; set; }
        [DisplayName("Quantity")]
        public int Quantity{ get; set; }
        [DisplayName("Quantity balance")]
        public int? QuantityBalance{ get; set; }
        [DisplayName("Price")]
        public int Price { get; set; }
        [DisplayName("Total")]
        public double Total { get; set; }
    }
}